package cn.itsource.mapper;

import cn.itsource.pojo.bo.PermBo;
import cn.itsource.pojo.domain.Permission;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author beishan
 * @since 2024-03-29
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> permissions2redisById(Long id);

    List<PermBo> selectPerm(LambdaQueryWrapper<PermBo> permBoLambdaQueryWrapper);
}
